AppCompatSeslCheckedTextView

Custom view derived from SeslCheckedTextView modified to follow the padding logic of oneui framework CheckedTextView

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Functions

Link copied to clipboard
Link copied to clipboard
Gets the checkmark drawable
Link copied to clipboard
@Nullable
open fun getCheckMarkTintList(): @Nullable ColorStateList
Returns the tint applied to the check mark drawable, if specified.
Link copied to clipboard
open fun getCheckMarkTintMode(): @Nullable PorterDuff.Mode
Returns the blending mode used to apply the tint to the check mark drawable, if specified.
Link copied to clipboard
open fun invalidateDrawable(@NonNull drawable: @NonNull Drawable)
Link copied to clipboard
open fun isChecked(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onRtlPropertiesChanged(layoutDirection: Int)
Link copied to clipboard
Link copied to clipboard
open fun setChecked(checked: Boolean)
Sets the checked state of this view.
Link copied to clipboard
open fun setCheckMarkDrawable(@Nullable d: @Nullable Drawable)
Set the check mark to the specified drawable.
Sets the check mark to the drawable with the specified resource ID.
Link copied to clipboard
open fun setCheckMarkTintList(@Nullable tint: @Nullable ColorStateList)
Applies a tint to the check mark drawable.
Link copied to clipboard
open fun setCheckMarkTintMode(tintMode: @Nullable PorterDuff.Mode)
Specifies the blending mode used to apply the tint specified by setCheckMarkTintList to the check mark drawable.
Link copied to clipboard
open fun setVisibility(visibility: Int)
Link copied to clipboard
open fun toggle()